$(function(){
	$("#articleId").hide();
	$("#updateArticle").click(function(){
		var articleId=$("#articleId").val();
	    var title=$("#articleTitle").val();
	    var content=UE.getEditor('editor').getContentTxt();	
        data={"operation":"update","articleId":articleId,"title":title,"content":content};		
		  $.post(
				"/MyBlog/articleServlet",
				 data,
				function(data){
					alert("修改成功");
				}
			);
	})
})
